<?php

namespace App\Models;


class Permission extends Model
{
    protected $table = 'permissions';


    public function roles()
    {
        return $this->belongsToMany('App\Models\Role', 'role_permission', 'permission_id', 'role_id');
    }


}
